#ifndef SCENE_H
#define SCENE_H

#include "EntityGroup.h"
#include "Entity.h"
#include "Player.h"
#include "EntityFactory.h"

/** managing the scene, to be expanded to a scenegraph.
 */
class Scene {
	private:
		AbstractEntity* m_worldEntity;
		Player* m_player;
		EntityFactory m_entfactory;

	public:
		Scene();
		void update( float frametime );

		AbstractEntity* getWorldEntity() { return m_worldEntity; }
		Player* getPlayer() { return m_player; }
		void readLine( char* type, char* line, std::vector<AbstractEntity*> &groups);

};

#endif

